package com.ufgov.pdf.entity.table;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tr",propOrder= {"tdList"})
public class Tr {

	@XmlElementWrapper(name = "tds")
	@XmlElement(name = "td")
	private List<Td> tdList;
	
	@XmlAttribute(name = "index")
	private String index;
	
	@XmlAttribute(name="foreach")
	private String foreach;
	
	@XmlAttribute(name = "entity")
	private String entity;
	
	public String getEntity() {
		return entity;
	}

	public void setEntity(String entity) {
		this.entity = entity;
	}


	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}
	
	public String getForeach() {
		return foreach;
	}

	public void setForeach(String foreach) {
		this.foreach = foreach;
	}

	public List<Td> getTdList() {
		return tdList;
	}

	public void setTdList(List<Td> tdList) {
		this.tdList = tdList;
	}

}
